<?php


use Illuminate\Database\Seeder;

class RolesTableSeeder extends Seeder
{

    /**
     * Auto generated seed file
     *
     * @return void
     */
    public function run()
    {


        \DB::table('roles')->delete();

        \DB::table('roles')->insert(array (
            0 =>
            array (
                'id' => 1,
                'rolename' => '系统管理员',
                'role_name' => 'admin',
                'description' => '系统管理员',
                'scope_type' => 'ADMIN',
                'role_type' => 0,
                'level' => 1,
                'created_at' => '2019-06-05 10:37:36',
                'updated_at' => '2023-02-09 17:49:20',
                'creator_id' => 0,
                'updater_id' => 0,
                'deleted' => 0,
            ),
            1 =>
            array (
                'id' => 2,
                'rolename' => '普通教师',
                'role_name' => 'teacher',
                'description' => '普通教师',
                'scope_type' => 'TEACHER',
                'role_type' => 0,
                'level' => 51,
                'created_at' => '2019-06-05 10:38:15',
                'updated_at' => '2023-02-09 17:49:20',
                'creator_id' => 0,
                'updater_id' => 0,
                'deleted' => 0,
            ),
            2 =>
            array (
                'id' => 3,
                'rolename' => '日常教研管理员',
                'role_name' => 'daily_research',
                'description' => '日常教研管理员',
                'scope_type' => 'TEACHER',
                'role_type' => 0,
                'level' => 50,
                'created_at' => '2019-06-05 10:38:15',
                'updated_at' => '2023-02-09 17:49:20',
                'creator_id' => 0,
                'updater_id' => 0,
                'deleted' => 0,
            ),
            3 =>
            array (
                'id' => 4,
                'rolename' => '网络听评课管理员',
                'role_name' => 'net_listen',
                'description' => '网络听评课管理员',
                'scope_type' => 'TEACHER',
                'role_type' => 0,
                'level' => 50,
                'created_at' => '2019-06-05 10:38:15',
                'updated_at' => '2023-02-09 17:49:20',
                'creator_id' => 0,
                'updater_id' => 0,
                'deleted' => 0,
            ),
            4 =>
            array (
                'id' => 5,
                'rolename' => '主题活动管理员',
                'role_name' => 'theme_activity',
                'description' => '主题活动管理员',
                'scope_type' => 'TEACHER',
                'role_type' => 0,
                'level' => 50,
                'created_at' => '2019-06-05 10:38:15',
                'updated_at' => '2023-02-09 17:49:20',
                'creator_id' => 0,
                'updater_id' => 0,
                'deleted' => 0,
            ),
            5 =>
            array (
                'id' => 6,
                'rolename' => '计划小结管理员',
                'role_name' => 'plan_sum',
                'description' => '计划小结管理员',
                'scope_type' => 'TEACHER',
                'role_type' => 0,
                'level' => 50,
                'created_at' => '2019-06-05 10:38:15',
                'updated_at' => '2023-02-09 17:49:20',
                'creator_id' => 0,
                'updater_id' => 0,
                'deleted' => 0,
            ),
            6 =>
            array (
                'id' => 7,
                'rolename' => '获奖情况管理员',
                'role_name' => 'awards',
                'description' => '获奖情况管理员',
                'scope_type' => 'TEACHER',
                'role_type' => 0,
                'level' => 50,
                'created_at' => '2019-06-05 10:38:15',
                'updated_at' => '2023-02-09 17:49:20',
                'creator_id' => 0,
                'updater_id' => 0,
                'deleted' => 0,
            ),
            7 =>
            array (
                'id' => 8,
                'rolename' => '培训记录管理员',
                'role_name' => 'train_record',
                'description' => '培训记录管理员',
                'scope_type' => 'TEACHER',
                'role_type' => 0,
                'level' => 50,
                'created_at' => '2019-06-05 10:38:15',
                'updated_at' => '2023-02-09 17:49:20',
                'creator_id' => 0,
                'updater_id' => 0,
                'deleted' => 0,
            ),
            8 =>
            array (
                'id' => 9,
                'rolename' => '成果管理员',
                'role_name' => 'result',
                'description' => '成果管理员',
                'scope_type' => 'TEACHER',
                'role_type' => 0,
                'level' => 50,
                'created_at' => '2019-06-05 10:38:15',
                'updated_at' => '2023-02-09 17:49:20',
                'creator_id' => 0,
                'updater_id' => 0,
                'deleted' => 0,
            ),
            9 =>
            array (
                'id' => 10,
                'rolename' => '学校管理员',
                'role_name' => 'school_admin',
                'description' => '学校管理员',
                'scope_type' => 'TEACHER',
                'role_type' => 0,
                'level' => 3,
                'created_at' => '2019-06-05 10:38:15',
                'updated_at' => '2023-02-09 17:49:20',
                'creator_id' => 0,
                'updater_id' => 0,
                'deleted' => 0,
            ),
            10 =>
            array (
                'id' => 11,
                'rolename' => '学校系统管理员',
                'role_name' => 'school_system_admin',
                'description' => '学校系统管理员',
                'scope_type' => 'TEACHER',
                'role_type' => 0,
                'level' => 2,
                'created_at' => '2019-06-05 10:38:15',
                'updated_at' => '2023-02-09 17:49:20',
                'creator_id' => 0,
                'updater_id' => 0,
                'deleted' => 0,
            ),
        ));


    }
}
